package com.volcreate.exception_collection.no5;

import java.util.ArrayList;
import java.util.Scanner;

/**
 * @author zxc
 * @date 2020/10/6
 */
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        scanner.nextLine();
        ArrayList<Integer> list = new ArrayList<>();
        while (n > 0) {
            try {
                String s = scanner.nextLine();
                list.add(Integer.parseInt(s));
                n--;
            } catch (Exception e) {
                System.out.println(e);
            }
        }
        System.out.println(list);


    }
}
